package com.imooc.coupon.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * 微服务网关启动入口
 *
 * Created By TINY
 * Create Time 2020/2/9 - 1:16
 **/
@EnableZuulProxy        // 表明当前应用时Zuul Server
@SpringCloudApplication // 该注解组合了 Spring Boot + 服务注册 + 熔断
public class ZuulGatewayApplication {
    public static void main(String[] args) {

        SpringApplication.run(ZuulGatewayApplication.class, args);
    }
}
